package by.home;


public class SimpleResponseUriGenerator implements ResponseURIGenerator {
  @Override
  public String generateResponsePageAfterSuccessfullCreatingChatRoom(int chatRoomId) {
    return "/show_room.ctrl?id=" + chatRoomId;
  }

  @Override
  public String generateResponsePageAfterFailedCreatingChatRoom() {
    return "/error.jsp";
  }

  @Override
  public String generateResponsePageAfterSuccessfullCreatingNewMessage(int chatRoomId, int messageId) {
    return null;  //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override
  public String generateResponsePageAfterFailedCreatingNewMessage(int chatRoomId, int messageId) {
    return null;  //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override
  public String generateResponsePageAfterSuccessfullDeletingMessage(int chatRoomId) {
    return null;  //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override
  public String generateResponsePageAfterFailedDeletingMessage(int chatRoomId) {
    return null;  //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override
  public String generateResponsePageAfterSuccessfullGettingAllChatRooms() {
    return "/chatlist.jsp";
  }

  @Override
  public String generateResponsePageAfterFailedGettingAllChatRooms() {
    return "/error.jsp";
  }

  @Override
  public String generateResponsePageAfterSuccessfullGettingOneChatRoom(int chatRoomId) {
    return "/chatroom.jsp?id=" + chatRoomId;
  }

  @Override
  public String generateResponsePageAfterFailedGettingOneChatRoom() {
    return "/error.jsp";
  }

  @Override
  public String generateResponsePageAfterSuccessfullUpdatingMessage(int chatRoomId, int messageId) {
    return null;  //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override
  public String generateResponsePageAfterFailedUpdatingMessage(int chatRoomId, int messageId) {
    return null;  //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override
  public String generateResponsePageAfterSuccessfullLoginUser() {
    return null;  //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override
  public String generateResponsePageAfterFailedLoginUser() {
    return null;  //To change body of implemented methods use File | Settings | File Templates.
  }
}
